<?php
class doApi extends core
{
	public function indexAction($arg)
	{
		$page	= base::init('classified')->fetchRowById($arg['id']);
		$columns	= base::init('column')->fetchAll(array('wid'=>$arg['wid']));
		
		$template	= $this->template();
		$template->assign('page', $page);
		$template->assign('columns', $columns);
		$template->display('do_index.php');
	}
}